<?php
class Application_Model_Celibataire{ 
	protected $_pseudo;
    protected $_mdp;
    protected $_email;
    protected $_id;
    protected $_sex;
    protected $_date_naissance;
    protected $_origine;
    protected $_religion;
    protected $_metier;
    protected $_taille;
    protected $_poids;
    protected $_yeux;
    protected $_longueurCheveux;
    protected $_couleurCheveux;
    protected $_recherche;
    protected  $_recherche_civilite;
       //autre

    protected $_lat;

    protected $_lng;

    protected $_ipInscription;

    protected $_dateInscription;

    protected $_dateConnexion;

    protected $_ville;

    protected $_pays;

    protected $_atoutPhysique;

    protected $_personneIdeale;

    protected $_presentation;

    protected $_hobbies;
    
    
    public function __construct(array $options = null)
    {
        if (is_array($options)) {
            $this->setOptions($options);
        }
    }

    public function __set($name, $value)
    {
        $method = 'set' . $name;
        if (('mapper' == $name) || !method_exists($this, $method)) {
            throw new Exception('Invalid Celibataire property');
        }
        $this->$method($value);
    }

    public function __get($name)
    {
        $method = 'get' . $name;
        if (('mapper' == $name) || !method_exists($this, $method)) {
            throw new Exception('Invalid Celibataire property');
        }
        return $this->$method();
    }

    public function setOptions(array $options)
    {
        $methods = get_class_methods($this);
        foreach ($options as $key => $value) {
            $method = 'set' . ucfirst($key);
            if (in_array($method, $methods)) {
                $this->$method($value);
            }
        }
        return $this;
    }

    public function setPseudo($text)
    {
        $this->_pseudo = (string) $text;
        return $this;
    }

    public function getPseudo()
    {
        return $this->_pseudo;
    }

    public function setEmail($email)
    {
        $this->_email = (string) $email;
        return $this;
    }

    public function getEmail()
    {
        return $this->_email;
    }

    public function setMdp($ts)
    {
        $this->_mdp = $ts;
        return $this;
    }

    public function getMdp()
    {
        return $this->_mdp;
    }

    public function setId($id)
    {
        $this->_id =  $id;
        return $this;
    }

    public function getId()
    {
        return $this->_id;
    }
    
	public function setSex($v)
    {
        $this->_sex =  $v;
        return $this;
    }

    public function getSex()
    {
        return $this->_sex;
    }
    
	public function setDate_naissance($v)
    {
        $this->_date_naissance =  $v;
        return $this;
    }
    
    public function getDate_naissance()
    {
        return $this->_date_naissance;
    }
    
	public function setOrigine($v)
    {
        $this->_origine =  $v;
        return $this;
    }

    public function getOrigine()
    {
        return $this->_origine;
    }
    
    public function setReligion($v)
    {
        $this->_religion =  $v;
        return $this;
    }

    public function getReligion()
    {
        return $this->_religion;
    }
    
    public function setMetier($v)
    {
        $this->_metier =  $v;
        return $this;
    }

    public function getMetier()
    {
        return $this->_metier;
    }
    
    public function setTaille($v)
    {
        $this->_taille =  $v;
        return $this;
    }

    public function getTaille()
    {
        return $this->_taille;
    }
    
    public function setPoids($v)
    {
        $this->_poids =  $v;
        return $this;
    }

    public function getPoids()
    {
        return $this->_poids;
    }
    
    public function setYeux($v)
    {
        $this->_yeux =  $v;
        return $this;
    }

    public function getYeux()
    {
        return $this->_yeux;
    }
    
    public function setCouleurCheveux($v)
    {
        $this->_couleurCheveux =  $v;
        return $this;
    }

    public function getCouleurCheveux()
    {
        return $this->_couleurCheveux;
    }
    
    public function setLongueurCheveux($v)
    {
        $this->_longueurCheveux =  $v;
        return $this;
    }

    public function getLongueurCheveux()
    {
        return $this->_longueurCheveux;
    }
    
    public function setRecherche($v)
    {
        $this->_recherche =  $v;
        return $this;
    }

    public function getRecherche()
    {
        return $this->_recherche;
    }
    
public function setRecherche_civilite($v)
    {
        $this->_recherche_civilite=  $v;
        return $this;
    }

    public function getRecherche_civilite()
    {
        return $this->_recherche_civilite;
    }
    
public function setLat($v)

    {

        $this->_lat =  $v;

        return $this;

    }

 

    public function getLat()

    {

        return $this->_lat;

    }

   

      public function setLng($v)

    {

        $this->_lng =  $v;

        return $this;

    }

 

    public function getLng()

    {

        return $this->_lng;

    }

   

      public function setIpInscription($v)

    {

        $this->_ipInscription =  $v;

        return $this;

    }

 

    public function getIpInscription()

    {

        return $this->_ipInscription;

    }

   

      public function setDateInscription($v)

    {

        $this->_dateInscription=  $v;

        return $this;

    }

 

    public function getDateInscription()

    {

        return $this->_dateInscription;

    }

   

      public function setDateConnexion($v)

    {

        $this->_dateConnexion  =  $v;

        return $this;

    }

 

    public function getDateConnexion()

    {

        return $this->_dateConnexion;

    }

   

      public function setPays($v)

    {

        $this->_pays=  $v;

        return $this;

    }

 

    public function getPays()

    {

        return $this->_pays;

    }

   

      public function setVille($v)

    {

        $this->_ville=  $v;

        return $this;

    }

 

    public function getVille()

    {

        return $this->_ville;

    }

   

      public function setAtoutPhysique($v)

    {

        $this->_atoutPhysique=  $v;

        return $this;

    }

 

    public function getAtoutPhysique()

    {

        return $this->_atoutPhysique;

    }

   

      public function setPersonneIdeale($v)

    {

        $this->_personneIdeale=  $v;

        return $this;

    }

 

    public function getPersonneIdeale()

    {

        return $this->_personneIdeale;

    }

   

      public function setPresentation($v)

    {

        $this->_presentation  =  $v;

        return $this;

    }

 

    public function getPresentation()

    {

        return $this->_presentation;

    }

   

      public function setHobbies($v)

    {

        $this->_hobbies=  $v;

        return $this;

    }

 

    public function getHobbies()

    {

        return $this->_hobbies;

    }
}